package com.welab.helloworld.listener;

import com.welab.dao.CityDao;
import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("helloWorldListener")
public class HelloWorldListener implements TaskListener {
    @Autowired
    private CityDao cityDao;

    @Override
    public void notify(DelegateTask delegateTask) {
        delegateTask.getEventName();
    }
}
